import Utli from '@/utlis/utli'
import AsideList from "@/utlis/asideList.js"
const mutations = {
    getAsideCollapse(state, value) {
        state.asideCollapse = value
    },
    getAsideItem(state, value) {
        state.asideItem = value.length? value : [AsideList[0]]
    },
    getActiveIndex(state, value) {
        Utli.setS('activeIndex', value)
        state.activeIndex = value
    }
}

export default mutations